using System;

namespace DomainExample.DomainModel.ContactModel
{
    public sealed class ContactId : Int64Identity
    {
        private ContactId(Int64 value)
        {
            Value = value;
        }

        public static ContactId NewContactId(Int64 value = 0)
        {
            return new ContactId(value);
        }

        public override string ToString()
        {
            return string.Format(
                "{0}: Value={1}",
                base.ToString(),
                Value
                );
        }
    }
}